package com.igd.pojo.vo;

 /**
 * @version  1.0
 *
 * @author   QIAOYU
 *
 * @date     2013-7-30
 *
 * @description	 异常处理错误信息对象
 */

public class ErrorData {
	
	/** 异常模块名称 */
	private String errModuleName = "err.moudle.default";
	
	/** 异常提示信息 */
	private String errMsg = "err.msg.default";
	
	/** 异常代码 */
	private String errCode;
	
	/** 异常级别 */
	private String errLevel;
	
	/** 异常返回URL */
	private String returnUrl;

	public ErrorData(){
		
	}
	
	public ErrorData(String errModuleName,String errMsg,String returnUrl){
		
		this.setErrModuleName(this.errModuleName);
		
		this.setErrMsg(this.errMsg);
		
		this.setReturnUrl(this.returnUrl);

	}
	
	public ErrorData(String errMsg,String returnUrl){
		
		this.setErrMsg(this.errMsg);
		
		this.setReturnUrl(returnUrl);

	}
	
	public ErrorData(String errMsg){
		
		this.setErrMsg(this.errMsg);

	}
	
	public String getErrModuleName() {
		return errModuleName;
	}

	public void setErrModuleName(String errModuleName) {
		this.errModuleName = errModuleName;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrLevel() {
		return errLevel;
	}

	public void setErrLevel(String errLevel) {
		this.errLevel = errLevel;
	}

	public String getReturnUrl() {
		return returnUrl;
	}

	public void setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
	}
}
